package com.lwc.service;

import com.lwc.bean.EnterpriseCategory;
import com.lwc.bean.EnterpriseTree;
import com.lwc.common.crud.Iservice;

import java.util.List;

public interface EnterpriseCategoryService extends Iservice<EnterpriseCategory> {

     int delete(int id);

     //更新类别名称和状态
     int update (int id,String name,int status);


     List<EnterpriseCategory>querylist();


     List<EnterpriseCategory>query();

     //类别树
     List<EnterpriseTree>tree();

}
